Folding code in ST-editor

Logical-related source code blocks are automatically grouped in the ST-editor, if code folding is enabled. You can fold such blocks by clicking icon  that is displayed on the left edge. Click icon  , if you want to expand the block again.

How to enable/disable the code folding:

  1. Point to the border left of the code.

  2. Open the context menu, select Folding and Enable Folding.

How to expand all blocks (only possible, if code folding is enabled):

  1. Point to the border left of the code.

  2. Open the context menu, select Folding and Expand All.

How to collapse all blocks (only possible, if code folding is enabled):

  1. Point to the border left of the code.

  2. Open the context menu, select Folding and Collapse All.